import axios from './config'

export async function getAllLogs () {
  return axios.get('/s/logs')
}

export async function getLogByFileName (name) {
  return axios.get(`/s/log?name=${name}`)
}
